package me.keiwu.user.service;

import me.keiwu.pub.data.service.UserInfoBean;
import me.keiwu.user.domain.UserLbs;

import java.util.List;

/**
 * Created by kei on 31/01/2018.
 */
public interface UserLbsService {


    UserLbs updateLbs(Long userId, Double latitude, Double longitude, Long cityCode, String cityName);

//    Page<UserInfoBean> fetchNearUser(Long cityCode, Page<UserInfoBean> page);

    List<UserInfoBean> fetchNearUserRandom(Long userId, Long cityCode, int size, boolean refresh);

}
